package com.ruoyi.petition.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.petition.domain.LawyerInfo;

import java.util.List;

/**
 * 律师信息Mapper接口
 *
 * @author ZWX
 * @date 2025-07-29
 */
public interface LawyerInfoMapper extends BaseMapper<LawyerInfo> {
    /**
     * 查询律师信息
     *
     * @param id 律师信息主键
     * @return 律师信息
     */
    public LawyerInfo selectLawyerInfoById(Long id);

    /**
     * 查询律师信息列表
     *
     * @param lawyerInfo 律师信息
     * @return 律师信息集合
     */
    public List<LawyerInfo> selectLawyerInfoList(LawyerInfo lawyerInfo);

    /**
     * 新增律师信息
     *
     * @param lawyerInfo 律师信息
     * @return 结果
     */
    public int insertLawyerInfo(LawyerInfo lawyerInfo);

    /**
     * 修改律师信息
     *
     * @param lawyerInfo 律师信息
     * @return 结果
     */
    public int updateLawyerInfo(LawyerInfo lawyerInfo);

    /**
     * 删除律师信息
     *
     * @param id 律师信息主键
     * @return 结果
     */
    public int deleteLawyerInfoById(Long id);

    /**
     * 批量删除律师信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLawyerInfoByIds(Long[] ids);
}
